package com.tledu.spring06.spring04.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author Antg
 * @date 2021/8/911:51
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {
    private Integer id;
    private String username;
    private String password;
    private String nickname;
    private Integer age;
    private Date birthday;


    //一下两个属性在插入的时候通过aop方式赋值
    private Date createTime;
    private String createBy;
}
